//
//  AppDelegate.m
//  BloodSugar
//
//  Created by 王佩璇 on 2024/9/3.
//

#import "AppDelegate.h"
#import "RDHomeViewController.h"
#import "RDNavigationController.h"
@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
    
    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    // Override point for customization after application launch.
    self.window.backgroundColor = [UIColor whiteColor];
    
    //设置为根控制器
    self.window.rootViewController = [[RDNavigationController alloc] initWithRootViewController:[[RDHomeViewController alloc]init]];
    
    [self.window makeKeyAndVisible];
    
    return YES;
}


@end
